import { type App } from 'vue';

export const withInstall = (c: any) => {
  c.install = (app: App) => {
    app.component(c.name!, c);
  };

  return c;
};
